package com.ft.scan.DTO;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@ApiModel(description = "请求对象,包含userid、文件base64数据、要提取的数据")
public class NLPRequestDTO {
    @ApiModelProperty(name = "userId", value = "用户ID", example = "12345", required = true)
    private Long userId;

    @ApiModelProperty(value = "Base64编码的文件数据", example = "iVBORw0KGg....", required = true)
    private String base64Data;

    @ApiModelProperty(value = "文件类型", example = "pdf", required = true)
    private String type;

    @ApiModelProperty(value = "文件页数，该功能按页计费", example = "1", required = true)
    private Integer pageNum;

    @ApiModelProperty(value = "要提取的关键词，多个词用逗号分开", example = "初赛作品提交,全国赛决赛阶段", required = true)
    private String keys;
}
